From: Colin Walters Date: Mon, 25 Mar 2013 20:32:15 +0000 (-0400) Subject: shellDBus: Fix SetActive(false) for ScreenSaver DBus API X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~4382 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=512f0a67fbf43d9add796f12663708823fa5dafe;p=gnome-shell.git shellDBus: Fix SetActive(false) for ScreenSaver DBus API Someone changed .unlock() to deactivate() for the obvious symmetry with activate(), but forgot to update it here. https://bugzilla.gnome.org/show_bug.cgi?id=696585 --- diff --git a/js/ui/shellDBus.js b/js/ui/shellDBus.js index 1fc050052..727792c13 100644 --- a/js/ui/shellDBus.js +++ b/js/ui/shellDBus.js @@ -397,7 +397,7 @@ const ScreenSaverDBus = new Lang.Class({ if (active) this._screenShield.activate(true); else - this._screenShield.unlock(false); + this._screenShield.deactivate(false); }, GetActive: function() {